from django.db import models

# Create your models here.
class ChatMenu(models.Model):
    """
    ChatMenu
    """
    id = models.BigAutoField(primary_key=True)
    name = models.CharField(verbose_name="菜单名称", max_length=128, blank=False, null=False)
    icon = models.CharField(verbose_name="菜单图标", max_length=512, blank=False, null=False, default='')
    url = models.CharField(verbose_name="菜单跳转地址", max_length=32, blank=False, null=False)
    sort_num = models.IntegerField(verbose_name="排序", null=True, blank=True, default='99')
    enabled = models.BooleanField(verbose_name="启用状态", default=True, null=True, blank=True)

